package com.xjrsoft.module.im.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * im 消息表
 * </p>
 *
 * @author tzx
 * @since 2024-07-05
 */
@TableName("xjr_im_message")
@ApiModel(value = "ImMessage对象", description = "im 消息表")
@Data
public class ImMessage implements Serializable {

    private static final long serialVersionUID = 1L;

      private Long id;

      @ApiModelProperty("接收人")
      private Long to;

      @ApiModelProperty("发送人")
      private Long from;

      @ApiModelProperty("信息内容")
      private String msgContent;

      @ApiModelProperty("信息类型")
      private Integer msgType;

      @ApiModelProperty("发送时间")
      private LocalDateTime sendTime;


}
